﻿using System;

namespace Mt.Site.Core.AccessStatistics.BackgroundJob
{
    public class VisitorArgs
    {
        public DateTime VisitTime { get; set; }

        public string ClientIp { get; set; }

        public string UserAgent { get; set; }

        /// <summary>
        /// 受访页面
        /// </summary>
        public string Url { get; set; }

        /// <summary>
        /// 来源页面
        /// </summary>
        public string RefererUrl { get; set; }

        /// <summary>
        /// 是否支持Cookie
        /// </summary>
        public bool CookieEnabled { get; set; }

        /// <summary>
        /// 分辨率 ,如 ’1024×768′
        /// </summary>
        public string Resolution { get; set; }
        /// <summary>
        /// 颜色深度，如 “32-bit”
        /// </summary>
        public string ColorDepth { get; set; }
        
        /// <summary>
        /// 浏览器窗口高度
        /// </summary>
        public int WindowHeight { get; set; }

        /// <summary>
        /// 语言 zh-cn
        /// </summary>
        public string CultureName { get; set; }

        /// <summary>
        /// 是否新访客(cookie)
        /// </summary>
        public bool IsNewVisitor { get; set; }

        /// <summary>
        /// 访客编号
        /// </summary>
        public string HMAccount { get; set; }

        public string Title { get; set; }

        public bool RefererUrlIsExternal { get; set; }
    }
}
                                       